package cn.frh.product.service;

import cn.frh.basic.util.AjaxResult;
import cn.frh.product.domain.Product;
import cn.frh.basic.service.IBaseService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tom
 * @since 2022-09-09
 */
public interface IProductService extends IBaseService<Product> {

    void offsale(List<Long> ids, HttpServletRequest request);

    AjaxResult onsale(List<Long> ids, HttpServletRequest request);
}
